package com.hsm1;

public class Drink {
    public void ice(int choose) {
        if (choose == 0) {
            System.out.println("加冰");
        } else if (choose == 1)
            System.out.println("不加冰");
        else{
            System.out.println("您的选择有误，默认加冰");
        }
    }

    public void mount(int choose) {
        System.out.println("要"+choose+"杯");
    }

    public void size(int choose) {
        if (choose == 0) {
            System.out.println("中杯");
        } else if (choose == 1)
            System.out.println("大杯");
        else if (choose == 2){
            System.out.println("超大杯");
        }
        else{
            System.out.println("您的选择有误，默认超大杯");
        }
    }

}
